package sk.ogame.realm.exception;

/**
 * @author 支绍昆
 * 2023/2/17
 **/
public class BaseException extends RuntimeException {

    private Integer errCode;

    public BaseException(String message, Integer errCode){
        super(message);
        this.errCode = errCode;
    }

    public Integer getErrCode() {
        return errCode;
    }

    public void setErrCode(Integer errCode) {
        this.errCode = errCode;
    }
}
